{% extends "tj3/tj3.html" %}


{% block content  %} 

<div class="ui-widget ui-widget-content">

<h1 class="ui-widget ui-widget-header">Editing Work Limit</h1>

		<div class="mycontent">
		Work limit setups are shared among resources. Changing the values here can have impact
		on all resources who are linked to this limit. Change in the work limit will fundamentally
		influence the scheduler in its resource allocations.
		
		<br />
		<br />
		
		Deleting a work limit should be done with extreme caution. By deleting a work limit, all resources
		that are linked to this work limit will be deleted. This in turn will delete all bookings and journals
		that belong to this resource.
		
		<br />
		<br />
		
		Valid units for the value are: min, h, d, w, m, y.
		</div>
		
		<div class="mycontent">
			<h2 class="ui-state-highlight ui-corner-all">Work Limit</h2>
			<form action="." method="post" enctype="multipart/form-data">
				<table>
					<tbody>
						{{ worklimit_formset.management_form }}
						{{ worklimit_formset }}
					</tbody>
				</table>
			
			<div class="float_right">	
				<input type="submit" name="command" value="Update" class="button" />
				<input type="submit" name="command" value="Delete" class="button" />
			</div>
		</div>
	</form>
</div>
{% endblock content %}
